import Vue from 'vue'
import Router from 'vue-router'
import main from '@/components/Main'
import dts from '@/components/dts/DtsMainView.vue'
import dtsList from '@/components/dts/DtsDetailList.vue'
import dtsSummary from '@/components/dts/DtsSummary.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: '/main',
      component: main
    },
    {
      path: '/dts',
      name: '/dts',
      component: dts,
      children: [{
        path: '/dts/summary',
        name: '/dts/summary',
        component: dtsSummary
      },
      {
        path: '/dts/list',
        name: '/dts/list',
        component: dtsList
      }]
    }
  ]
})
